﻿using Microsoft.AspNetCore.Mvc;
using System;
using TomNet.AspNetCore.Mvc;

namespace TomNet.Demo.Web.Controllers
{
    public class ExceptionController : ApiControllerBase
    {
        [HttpGet]
        public IActionResult Get()
        {
            throw new Exception("这是错误信息，用于测试异常过滤器");
        }
    }
}
